ci: Collect code coverage in tests#13686
Conversation
This adds the necessary infrastructure to collect code coverage in CI, which could be useful to look at munually or track consistently via something like codecov. Co-authored-by: Jade Lovelace <lix@jade.fyi>
|
How can we see the result of these code coverage tests? How does it relate to the existing code coverage hydra job (https://hydra.nixos.org/build/305282505)? |
Hydra is fixed in #13718 The motivation of this PR is to enable https://app.codecov.io/ so that we get feedback in pull requests on top of what hydra provides. |
As @Mic92 mentioned above, this was before the coverage job was restored. As you can see from the metrics graph the job wasnt run at all, since we removed the autotools based system and moved to componentized builds. This PR was in preparation to restoring the hydra job you linked to. Recent runs of it upload the metrics/html that is collected by the infra added here. |
Motivation
This adds the necessary infrastructure to collect
code coverage in CI, which could be useful to look at munually or track consistently via something like codecov.
Context
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.